package com.extsci.webmail.common.entity.sensitive;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 敏感词
 * @author ccoke
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Sensitive {
    /**
     * 唯一ID
     */
    private String uuid;

    /**
     * 敏感词
     */
    private String word;

    /**
     * 指定监测位置
     */
    private Integer position;

    /**
     * 处理规则
     */
    private Integer regular;

    /**
     * 创建时间
     */
    private Date createAt;

}
